package com.hospital.dictionary.module.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hospital.dictionary.module.mapper.SysDictItemMapper;
import com.hospital.dictionary.module.entity.SysDictItem;
import com.hospital.dictionary.module.service.SysDictItemService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SysDictItemServiceImpl extends ServiceImpl<SysDictItemMapper, SysDictItem> implements SysDictItemService {
    @Resource
    private SysDictItemMapper sysDictItemMapper;

    @Override
    public List<SysDictItem> selectDictByDictName(String dictName) {
        return sysDictItemMapper.selectDictByDictName(dictName);
    }
}
